package com.wx.annotation;

import com.wx.config.RegisterProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
//@Import({ServerAutoConfiguration.class})
@EnableConfigurationProperties({RegisterProperties.class})
@ComponentScan("com.wx.*")
public @interface EnableMyRpc {
}
